#ifndef DEVLIST_ITEM_DELEGATE_H
#define DEVLIST_ITEM_DELEGATE_H

#include <QStyledItemDelegate>
#include <QPainter>

class DevlistItemDelegate : public QStyledItemDelegate 
{
	Q_OBJECT

public:
	explicit DevlistItemDelegate(QObject* parent = nullptr);
	
	void paint(QPainter* painter, const QStyleOptionViewItem& option, const QModelIndex& index) const override;
    QSize sizeHint(const QStyleOptionViewItem& option, const QModelIndex& index) const override;
};

#endif // DEVLIST_ITEM_DELEGATE_H
